package com.malty.apimanage.domain.dto.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author malty
 */
@Data
@ApiModel(description = "新增用户请求")
public class UserAddReq {
    @ApiModelProperty("用户帐号")
    @NotBlank(message = "帐号不能为空")
    private String userName;

    @ApiModelProperty("用户帐号")
    @NotBlank(message = "帐号不能为空")
    private String userAccount;

    @ApiModelProperty("用户帐号")
    @NotBlank(message = "帐号不能为空")
    private String userAvatar;

    @ApiModelProperty("用户帐号")
    @NotBlank(message = "帐号不能为空")
    private Integer gender;

    @ApiModelProperty("用户帐号")
    @NotBlank(message = "帐号不能为空")
    private String userRole;

    @ApiModelProperty("用户帐号")
    @NotBlank(message = "帐号不能为空")
    private String userPassword;
}
